﻿#include"global.h"
#include"operation.h"
#include "Ui.h"
#include<time.h>
#include<stdlib.h>
int main()
{
	System sys;
	if (!initSys(&sys))
	{
		printf("初始化系统失败！\n");
		return 0;
	}
	//time_t sum = time(NULL);//获取当前时间离1900年有多少秒
	////转换类型
	//struct tm* p = localtime(&sum);
	//printf("%d", p->tm_wday);
	initUi(&sys);
	return 0;
}